<style scoped>
    .home{
        width: 100%;
        height: 100%;
        background: url("../images/weclome.jpg") no-repeat;
        background-size: 100% 100%;
    }
</style>

<template>

    <div class="home">
        <!--<img src="../images/weclome.jpg" style="width: 100%;"/>-->
    </div>

</template>

<script>
    export default {
        created: function () {
            var width = window.innerWidth;
            if(width >1600){
                $(".console-body").css({top:70})
            }else if(width > 1440 && width <=1600){
                $(".console-body").css({top:58})
            }else if(width > 1366 && width <=1440){
                $(".console-body").css({top:54})
            }else if(width > 1280 && width <=1366){
                $(".console-body").css({top:50})
            }else if(width > 1024 && width <=1280){
                $(".console-body").css({top:37})
            }else{
                $(".console-body").css({top:37})
            }
        }

    }

</script>
